<%-- 
    Document   : edit
    Created on : 12/04/2012, 03:04:27 AM
    Author     : Jose Vasquez
--%>

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
 
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>

<div class="container">
    <h1>Editar Servicio Adicional</h1><br/><br/>
    <form:form action="edit" method="post" commandName="servicioadicional" cssClass="form-horizontal">
        <div class="row">
            <form:hidden path="CoServicio"></form:hidden>
            <div class="control-group">
                <label>Nombre:</label>
                <div class="controls">
                    <form:input path="NoServicio"></form:input>
                    <form:errors path="NoServicio" cssstyle="color:red"></form:errors>
                </div>
            </div>
            <div class="control-group">
                <label>Costo</label>
                <div class="controls">
                    <form:input path="StCosto"></form:input>
                    <form:errors path="StCosto" cssstyle="color:red"></form:errors>
                </div>
            </div>
             <div class="control-group">
                <label>Id Personal</label>
                <div class="controls">
                    <form:input path="CoPersona"></form:input>
                    <form:errors path="CoPersona" cssstyle="color:red"></form:errors>
                </div>
            </div>     
            
              <div class="control-group">
                <label>Flat Servicio</label>
                <div class="controls">
                    <form:input path="FlServicio"></form:input>
                    <form:errors path="FlServicio" cssstyle="color:red"></form:errors>
                </div>
            </div>     
                
        </div>
        <div class="actions" style="margin-left: 160px;">
            <input name="" value="Editar" type="submit" class="btn btn-primary">
            <a style="margin-left: 5px;" href="<c:url value='/pages/servicioadicional/index'/>">Cancelar</a>
        </div>
    </form:form>
</div>
